import Layout from '@/layout'
export default {
  path: '/rights',
  component: Layout,
  redirect: '/users/roles',
  meta: { title: '权限管理', icon: 'el-icon-copy-document' },
  children: [
    {
      path: 'roles',
      name: 'Roles',
      component: () => import('@/views/roles/index'),
      meta: { title: '角色列表', icon: 'table' }
    },
    {
      path: 'rights',
      name: 'Rights',
      component: () => import('@/views/rights/index'),
      meta: { title: '权限列表', icon: 'table' }
    }
  ]
}
